import request from "./request";

//订单列表
interface getOrderListadd {
    pageNum?: number,
    pageSize?: number,
    orderSn?: number|null,
    receiverKeyword?: string |null,
    createTime?: string |null,
    orderType?: number|null,
    status?: number|null,
    sourceType?: number|null
}
interface listType{
    list:[],
}

export const getOrderListApi = (data: getOrderListadd):IResponseData<listType> => request.get(`/order/list`,{params:data})